import http from 'wechat-http'
http.baseURL = 'https://live-api.itheima.net'
//设置拦截器
http.intercept.response = res => {
  // console.log('拦截器')
  return res.data
}
export default http
wx.http = http